<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>测试移动端</title>
    <link rel="stylesheet" href="./css/jquery-weui.css">
    <link rel="stylesheet" href="./css/weui.css">
    <link rel="stylesheet" href="./css/tangchuang.css">
    <link rel="stylesheet" href="./css/cssReset.css">
    <style>
        #box,#box2{
            width: 7.5rem;
            height: 1rem;
            background: #cccccc;
            margin-bottom: 0.1rem;
        }
        .weui-dialog__hd{
            padding: 0;
            padding-bottom: 0.1rem;
        }
        .bn{
            border: none;
        }
    </style>
</head>
<body>
    <div id="box"></div>
    <div id="box2"></div>
    <input class="weui-switch" type="checkbox">
    <!-- <div class="mask">
        <dl class="confirm">
            <dt class="title">
                <p>标题</p>
                
            </dt>
            <div class="bom_div">
                <ul class="list">
                    <li>第一句提示哈哈哈第一句提示哈哈哈</li>
                    <li class="bn">第二局提示第二局提示</li>
                </ul>
                <dd class="copy_btn copy_btn1 btn">确定</dd>
            </div>
        </dl>
    </div> -->
</body>
<script src="./js/jquery.min.js"></script>
<script src="./js/rem.js"></script>
<script src="./js/layer_mobile/layer.js"></script>
<script src="./js/jquery-weui.js"></script>
<script src="./js/tanchaung.js"></script>
<script src="./js/vconsole.min.js"></script>
<script src="./js/common.js"></script>
<script>
    var vConsole = new VConsole();
    console.log('Hello world');
    $("#box").click(function(){
        layer.open({
            content: "未搜索到該玩家"
            ,skin: 'msg'
            ,time: 2 //2秒后自动关闭
        });
        $.alert("未搜索到該玩家,未搜索到該玩家未搜索到該玩家,未搜索到該玩家.未搜索到該玩家未搜索到該玩家未搜索到該玩家未搜索到該玩家");
    })
    $("#box2").click(function(){
        //如果参数过多，建议通过 object 方式传入
        // $.confirm({
        // title: '这里是标题',
        // text: '这里是提示的内容，有可能会有很多的提示内容，哈哈哈',
        // onOK: function (e) {
        //     console.log(e);
        //     //点击确认
        // },
        // onCancel: function () {
        // }
        // });
        my_alert({
            "title":"提醒",
            "content_one":"第一句的提示",
            "content_two":"第二句的提示",
            "ok_fun":function(){
                //alert(1111111);
            }
        });
    })

        (function () {
            var style = document.querySelector('#_outline_');
            if (style) {
                style.parentNode.removeChild(style);
            } else {
                style = document.createElement('style');
                style.id = '_outline_';
                style.innerHTML = "*{outline: 1px solid red}";
                document.body.appendChild(style);
            }
        })();
</script>
</html>